//
// Created by ezio on 19-11-28.
//

#ifndef CAM_CLIENT_COMMON_DEFINE_H
#define CAM_CLIENT_COMMON_DEFINE_H

#define SERVER_PORT	(8554)
#ifdef MOCK
    static const char* PIC_DIR = "/home/ezio/Pictures/client2.png";
    static const char* PIC_DIR_RECV = "/home/ezio/Pictures/client_recv.png";

    static const char* SNAP_DIR = "/root/snap_0.jpg";
    static const char *SMEA_NAME = "reset_vio_sema";
    #define SERVER_IPADDR ("127.0.0.1")
#else
    #define SERVER_IPADDR ("192.168.18.119")	//("192.168.16.251")////192.168.1.100")
#endif
//2M
#define  MAX_BUFF_SIZE  (3*(SIZE_256KB))

#define SIZE_256KB (262144)
#endif //CAM_CLIENT_COMMON_DEFINE_H
